# !/usr/bin/env python
# -*- coding: utf-8 -*-
# @File  : jieba识别词性.py
# @Author: dongguangwen
# @Date  : 2024-07-06 11:08
import jieba.posseg as pseg

content = '秦皇岛氨水制备器'
for word, flag in pseg.cut(content):
    print(word, flag)

"""
秦皇岛 nr
氨水 n
制备 v
器 n
"""